<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 222px;height: 220px;
            background-color: red;
        }
        img{
            /* 行内块元素底线会和父元素基线对齐，一种方式就是display:block */
            /* display: block; */
            vertical-align: top;
        }
    </style>
</head>
<body>
    <div>
        <img src="./images/mi.jpg" width="222px" height="220px" alt="">
    </div>
</body>
</html>